# -*- mode: python ; coding: utf-8 -*-

# Windows打包配置文件
# 生成无需管理员权限的独立EXE

import sys
sys.setrecursionlimit(5000)

a = Analysis(
    ['simple_activation_calculator.py'],
    pathex=[],
    binaries=[],
    datas=[
        ('ExpDat_1-8.csv', '.'),
        ('ExpDat_1-7.csv', '.'),
    ],
    hiddenimports=[
        'scipy.special._ufuncs',
        'matplotlib.backends.backend_tkagg',
        'matplotlib.backends.backend_qt5agg',
        'numpy.core._dtype_ctypes',
        'pkg_resources.py2_warn',
    ],
    hookspath=[],
    hooksconfig={},
    runtime_hooks=[],
    excludes=[],
    noarchive=False,
)

pyz = PYZ(a.pure)

exe = EXE(
    pyz,
    a.scripts,
    a.binaries,
    a.datas,
    [],
    name='活化能计算器',
    debug=False,
    bootloader_ignore_signals=False,
    strip=False,
    upx=True,
    upx_exclude=[],
    runtime_tmpdir=None,
    console=False,
    disable_windowed_traceback=False,
    argv_emulation=False,
    target_arch=None,
    codesign_identity=None,
    entitlements_file=None,
    icon=None,
)